package Correction.Gain;

import Correction.RangingCorrectionPolynomes_t;

public class RangingCorrectionSF10BW1600 {
    private static double[] cer = {
            4.9932e-11,
            -5.5685e-08,
            1.0616e-05,
            -0.00070018,
            0.017218,
            0.70178,
            0.65429,
    };
    private static RangingCorrectionPolynomes_t polynomes_t = new RangingCorrectionPolynomes_t(7,cer);
    public static RangingCorrectionPolynomes_t getPolynomes_t()
    {
        return polynomes_t;
    }
    private static double[] array =
            {
                    0.60062,
                    0.60062,
                    0.60062,
                    0.60062,
                    0.60062,
                    0.60062,
                    0.60062,
                    0.60062,
                    0.60062,
                    0.60062,
                    0.60062,
                    0.60062,
                    0.60062,
                    0.60062,
                    0.60062,
                    0.60062,
                    0.60062,
                    0.60062,
                    0.60062,
                    0.60062,
                    0.60062,
                    0.60062,
                    0.60062,
                    0.60062,
                    0.60062,
                    0.60062,
                    0.60062,
                    0.60062,
                    0.60062,
                    0.60062,
                    0.60062,
                    0.60062,
                    0.60062,
                    0.60062,
                    1.4818,
                    3.2328,
                    2.6262,
                    2.054,
                    2.6262,
                    1.5619,
                    1.9281,
                    2.2943,
                    1.4132,
                    1.4589,
                    1.4475,
                    1.9625,
                    1.7565,
                    1.5505,
                    1.8709,
                    1.9167,
                    1.8709,
                    1.6191,
                    1.6649,
                    1.6878,
                    1.5963,
                    1.7794,
                    1.9052,
                    1.8251,
                    1.7336,
                    1.5734,
                    1.5047,
                    1.7336,
                    1.848,
                    1.7107,
                    1.642,
                    1.7107,
                    1.7565,
                    1.5734,
                    1.5963,
                    1.5734,
                    1.7794,
                    1.7336,
                    1.6878,
                    1.6878,
                    1.7107,
                    1.8022,
                    1.7336,
                    2.4431,
                    1.7565,
                    1.7565,
                    3.4044,
                    3.6333,
                    3.8622,
                    3.5646,
                    3.6104,
                    3.5646,
                    3.6333,
                    3.5189,
                    3.6791,
                    3.7935,
                    3.7249,
                    3.7706,
                    3.9537,
                    3.8965,
                    3.6562,
                    3.7706,
                    4.4115,
                    5.4758,
                    6.2654,
                    6.5401,
                    6.563,
                    6.7003,
                    6.8376,
                    6.8148,
                    6.8148,
                    6.8148,
                    7.0436,
                    7.1352,
                    7.3641,
                    7.387,
                    7.4785,
                    7.6158,
                    7.5701,
                    7.593,
                    7.5701,
                    7.7303,
                    7.9134,
                    7.9134,
                    7.9592,
                    8.1194,
                    8.3025,
                    8.3712,
                    8.5543,
                    8.8976,
                    8.8747,
                    9.012,
                    9.1036,
                    9.0578,
                    9.012,
                    9.1494,
                    9.1036,
                    9.218,
                    9.218,
                    9.218,
                    9.2638,
                    9.1951,
                    9.1265,
                    9.3096,
                    9.2638,
                    9.2752,
                    9.2638,
                    9.2409,
                    8.9777,
                    8.9777,
                    8.9777,
                    8.9777,
                    8.9777,
                    8.9777,
                    8.9777,
                    8.9777,
                    8.9777,
                    8.9777,
                    8.9777,
                    8.9777,
                    8.9777,
                    8.9777,
                    8.9777,
                    8.9777,
                    8.9777,
                    8.9777,
            };
    public static double run(int gain)
    {
        return array[gain];
    }
}
